home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / LINUX / IF_ARCNE.{92 < prev    next >
Text File  |  1999-09-17  |  2KB  |  64 lines

  1. /*
  2.  * INET        An implementation of the TCP/IP protocol suite for the LINUX
  3.  *        operating system.  INET is implemented using the  BSD Socket
  4.  *        interface as the means of communication with the user level.
  5.  *
  6.  *        Global definitions for the ARCnet interface.
  7.  *
  8.  * Version:    $Id: if_arcnet.h,v 1.2 1997/09/05 08:57:54 mj Exp $
  9.  *
  10.  * Author:    David Woodhouse <dwmw2@cam.ac.uk>
  11.  *        Avery Pennarun <apenwarr@bond.net>    
  12.  *
  13.  *        This program is free software; you can redistribute it and/or
  14.  *        modify it under the terms of the GNU General Public License
  15.  *        as published by the Free Software Foundation; either version
  16.  *        2 of the License, or (at your option) any later version.
  17.  */
  18.  
  19. #ifndef _LINUX_IF_ARCNET_H
  20. #define _LINUX_IF_ARCNET_H
  21.  
  22.  
  23. /*
  24.  *    These are the defined ARCnet Protocol ID's.
  25.  */
  26.  
  27.     /* RFC1201 Protocol ID's */
  28. #define ARC_P_IP    212        /* 0xD4 */
  29. #define ARC_P_ARP    213        /* 0xD5 */
  30. #define ARC_P_RARP    214        /* 0xD6 */
  31. #define ARC_P_IPX    250        /* 0xFA */
  32. #define ARC_P_NOVELL_EC    236        /* 0xEC */
  33.  
  34.     /* Old RFC1051 Protocol ID's */
  35. #define ARC_P_IP_RFC1051 240        /* 0xF0 */
  36. #define ARC_P_ARP_RFC1051 241        /* 0xF1 */
  37.  
  38.     /* MS LanMan/WfWg protocol */
  39. #define ARC_P_ETHER    0xE8
  40.  
  41.     /* Unsupported/indirectly supported protocols */
  42. #define ARC_P_DATAPOINT_BOOT    0    /* very old Datapoint equipment */
  43. #define ARC_P_DATAPOINT_MOUNT    1
  44. #define ARC_P_POWERLAN_BEACON    8    /* Probably ATA-Netbios related */
  45. #define ARC_P_POWERLAN_BEACON2    243
  46. #define ARC_P_LANSOFT    251        /* 0xFB - what is this? */
  47. #define ARC_P_ATALK    0xDD
  48.  
  49.  
  50. /*
  51.  *    This is an ARCnet frame header.
  52.  */
  53.  
  54. struct archdr                       /* was struct HardHeader */
  55. {
  56.     u_char    source,        /* source ARCnet - filled in automagically */
  57.         destination,    /* destination ARCnet - 0 for broadcast    */
  58.         offset1,    /* offset of ClientData (256-byte packets) */
  59.         offset2;    /* offset of ClientData (512-byte packets) */
  60.  
  61. };
  62.  
  63. #endif    /* _LINUX_IF_ARCNET_H */
  64.